package lab01;

public class Test11 {
    public static void main(String[] args) {
        int i=0;
        for(int j=2;j<=100;j++){
            if((j%2!=0&&j%3!=0&&j%5!=0&&j%7!=0)|j==2|j==3|j==5|j==7) {
                System.out.print(j);
                System.out.print('\t');
                i++;
                if(i%6==0){
                    System.out.print('\n');
                }
                }
            }
        }
    }
